package com.wg.dome.entity.config;

import com.wg.db.annotation.EntityField;
import com.wg.db.annotation.EntityTable;
import com.wg.db.schema.AccessLevel;

import java.io.Serializable;

/**
 * 招募英雄
 */
@EntityTable(tableName = "static_recruit_hero",accessLevel = AccessLevel.ReadOnly)
public class RecruitHeroEntity implements Serializable {

    @EntityField(isKey = true)
    private int id;

    /**
     * 概率
     */
    @EntityField(fieldName = "probability")
    private Double probability;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Double getProbability() {
        return probability;
    }

    public void setProbability(Double probability) {
        this.probability = probability;
    }
}
